package com.dao;

import com.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * UserDao层
 * 只有查询操作
 */
public interface UserDao {

    @Select("select * from user where name = #{name} and pwd = #{pwd}")
    List<User> findUser(User user);

}
